void testModel() {
  var model = Model();
  model.initState();
}

abstract class BaseModel {
  BaseModel() {
    init();
  }
  void init() {
    print("on the base model init");
  }

  void initState() {
    print("the base initState call");
  }
}

class Model extends BaseModel with FileModel {}

class FileModel extends BaseModel {
  init() {
    super.init();
    print("the file model is init");
  }

  @override
  void initState() {
    super.initState();
    print("the FileModel initState call");
  }
}
